package com.edu.design.factory.simple;

import org.junit.Test;

public class FactoryCaseTest {

	@Test
	public void test() {	
		FactorySender factory = new FactorySender();
		Sender sms = factory.produceSmsSender();
		sms.send();
		Sender mail = factory.produceMailSender();
		mail.send();
	}

}
